package com.xd.core.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用印资料表
 * </p>
 *
 * @author zch
 * @since 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Information对象", description="用印资料表")
@Accessors(chain = true)
public class Information implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资料id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "资料url")
    private String informationUrl;

    @ApiModelProperty(value = "用印类型 0：投保用印 1：退保用印 2：批改用印 3：其他")
    private String typeOfSealUsed;

    @ApiModelProperty(value = "上传时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date uploadTime;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "用印id")
    private String uid;

    @ApiModelProperty(value = "进件id")
    private Integer debtId;

}
